/**      
 * @file		mulitArray.cpp
 * @description	Demonstrates creation, initialization, and output of 
 *				a two dimension array. 
 * @course		CSCI 123 Section 00000
 * @assignment		
 * @date		mm/dd/yyyy
 * @author		Brad Rippe (00000000) brippe@fullcoll.edu
 * @version		1.0
 */
#include <iostream>
using namespace std;

const int NUMBER_OF_STUDENTS 	= 7;
const int NUMBER_OF_QUIZZES 	= 5;

/**
 * @return zero if the application executes successfully
 */
int main() {
	int grades[NUMBER_OF_STUDENTS][NUMBER_OF_QUIZZES];

	cout << "Please type the grades (0-100) for your students\n";
	for(int i = 0; i < NUMBER_OF_STUDENTS; i++) {
		cout << "Type grades for student " << i+1 << endl;
		for(int j = 0; j < NUMBER_OF_QUIZZES; j++) {
			cout << "Type the grade for quiz " << j+1 << endl;
			cin >> grades[i][j];
		}
	}

	for(int i = 0; i < NUMBER_OF_STUDENTS; i++) {
		cout << "Grades for student " << i+1 << endl;
		for(int j = 0; j < NUMBER_OF_QUIZZES; j++) {
			cout << "\tGrade for quiz " << j+1;
			cout << " is " << grades[i][j] << endl;
		}
	}
	return 0;
}
